package com.lxq.www;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan({"com.lxq.www.aspect.dao","com.lxq.www.dao"})
//@RibbonClient(name = "CLOUD-MONITOR",configuration = MyRuleConfig.class)
@EnableFeignClients
@EnableEurekaClient
@EnableHystrix
@EnableHystrixDashboard
public class WwwApplication {
    public static void main(String[] args) {
        SpringApplication.run(WwwApplication.class, args);
    }
}
